TEMPLATE = app
CONFIG += console c++11
CONFIG -= app_bundle
CONFIG -= qt

LIBS += -lgxiapi \
        -lpthread \
        -lX11

INCLUDEPATH += /opt/ros/kinetic/include/opencv-3.3.1-dev \
               /opt/ros/kinetic/include/opencv-3.3.1-dev/opencv \
               /opt/ros/kinetic/include/opencv-3.3.1-dev/opencv2

# 编译生成的so文件（类似于windows下的dll文件）
LIBS += -L/usr/lib/aarch64-linux-gnu -lopencv_core -lopencv_imgcodecs -lopencv_imgproc -lopencv_highgui -lopencv_objdetect -lopencv_ml -lopencv_video -lopencv_videoio -lopencv_calib3d -lopencv_dnn -lopencv_features2d -lopencv_flann  -lopencv_photo -lopencv_stitching

SOURCES += \
        AngleSolver/AngleSolver.cpp \
        CAN/can.cpp \
        GxCamera/GxCamera.cpp \
        WindMill/armor.cpp \
        WindMill/dilate.cpp \
        WindMill/fan.cpp \
        WindMill/flowstripfan.cpp \
        WindMill/init.cpp \
        WindMill/predict.cpp \
        WindMill/r.cpp \
        WindMill/run.cpp \
        WindMill/tool.cpp \
        main.cpp

HEADERS += \
    AngleSolver/AngleSolver.h \
    CAN/can.h \
    GxCamera/GxCamera.h \
    GxCamera/include/DxImageProc.h \
    GxCamera/include/GxIAPI.h \
    WindMill/Energy.h \
    WindMill/struct_define.h
